Search
Other Articles Anywhere questions
Forum

HTML tags not being stripped with {article} (when displaying Articles Field)

Marc's Avatar Marc
Hi Peter,

With article anywhere, I want to show the value of a Custom Field (being an "Articles Field").

In particular, I needed to strip all HTML tags.
So I used strip="true"... but the following
{article}[salle strip="true"]{/article}
generates that (which obviously has HTML tags 😁
<span class="field-value "><a href="/lieu/pointcululb">PointCulture Bruxelles</a></span>

Have I missed something?

PS: I also tried
{article}[salle layout="false" strip="true"]{/article}
but then I get
<a href="/lieu/pointcululb">PointCulture Bruxelles</a>

And if I use
output="value"
then I get the article ID

So how can I get the article Title?
Peter van Westen's Avatar Peter van Westen ADMIN
In the Joomla 3 version of Articles Anywhere the strip="true" only works on a number of text based stuff, like the introtext and such.
It doesn't work on all Data Tags.

So for custom fields, you would have to do this via a custom layout.
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription